Skip to content

Feat: add macosArm64 and linuxX64 Kotlin/Native desktop targets (#191) - #370

Merged
b-re-w merged 1 commit into
developfrom
feat/kn-desktop-targets
Nov 5, 2026
Merged

b-re-w merged 1 commit into
developfrom
feat/kn-desktop-targets

Conversation

@b-re-w

@b-re-w b-re-w commented Nov 5, 2026

Copy link
Copy Markdown
Member

Part of #191 (Phase A).

Summary

  • Adds Kotlin/Native desktop targets macosArm64 and linuxX64 to :python-multiplatform under nativeMain -> desktopNativeMain -> {macosArm64Main, linuxX64Main} and nativeTest -> desktopNativeTest -> {macosArm64Test, linuxX64Test} (mingwX64 excluded; commonMain, iosMain, and artMain untouched).
  • Configures cinterop and test binary linker flags using libVersion and abiSuffix (-lpython$libVersion$abiSuffix) against the acquired python-build-standalone trees, staging the resolved Linux shared library via stageDesktopLibraries.
  • Implements DesktopNativePythonHome (applyPackagedPythonHome) and discoverStagedPayloadRoots in desktopNativeMain, and platform/thread/executable-directory actuals in macosArm64Main and linuxX64Main.
  • Adds desktop-native-linux job in .github/workflows/desktop.yml to run :python-multiplatform:linuxX64Test on ubuntu-latest.

Verification

  • :python-multiplatform:macosArm64Test: 496 tests, 496 passed, 0 failed, 0 skipped (66 suites)
  • :python-multiplatform:compileKotlinAndroidNativeArm64: passed
  • :python-multiplatform:compileKotlinIosSimulatorArm64: passed
  • :python-multiplatform:linkDebugTestLinuxX64: passed

@b-re-w
b-re-w merged commit 9394936 into develop Nov 5, 2026
@b-re-w
b-re-w deleted the feat/kn-desktop-targets branch November 5, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant